package com.ccrfid.rmc6.repository.asset;

import com.ccrfid.rmc6.entity.asset.AssetView;
import com.ccrfid.rmc6.repository.search.SearchableRepository;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface AssetViewRepository extends Repository<AssetView, Long>, SearchableRepository<AssetView> {
    //
    List<AssetView> getAllByLocatorAddressIsNotNull();
    List<AssetView> getAllByLocatorAddress(Integer locatorAddress);

}
